package com.hk.card;

import javax.swing.ImageIcon;

public class Card {
	private String name;
	private int number;
	private ImageIcon icon;
	//
	public Card(String name, int number) {
		this.number = number;
		this.name = name;
		this.icon = new ImageIcon("./image/card_" + name + number + ".png");
	}
	//get
	public String getName() {
		return name;
	}
	public int getNumber() {
		return number;
	}
	public ImageIcon getIcon() {
		return icon;
	}
}
